<template>
  <view>
    <view class="rounded-2xl overflow-hidden">
      <l-painter :board="base" isRenderImage @success="onSuccess" />
    </view>
    <view class="flex text-sm mt-10">
      <view class="flex" @click="onSave">
        <text class="mr-3 text-sm">网页版可以直接下载</text>
        <u-icon name="/static/icons/icon-save.png" size="28"></u-icon>
      </view>
    </view>
    <view class="flex text-sm mt-2">
      <view class="flex" @click="toCopy">
        <text class="mr-3 text-sm">APP请复制到浏览器下载</text>
        <u-icon name="/static/icons/icon-copy-gray.png" size="34"></u-icon>
      </view>
    </view>
  </view>
</template>

<script src="./poster.js"></script>
